
var should = require('should');
var productServices = require('../services/Product');

describe('Product', function () {
    it('get product data from database', function (done) {

        var page = {
            pageNumber: 1,
            perNumber: 10,
            keyword: '',
            category: ''
        };

        productServices.list(page, function (err, result) {
            should.not.exist(err);
            should.exist(result);
            done();
        });

    })
})

